package service.impl;

import com.simple.rpc.annotation.RpcService;
import org.springframework.stereotype.Service;
import service.GreetingService;

/**
 * @author mhh
 * @since 2020/9/17
 */
@RpcService
@Service
public class GreetingServiceImpl implements GreetingService {

    @Override
    public String sayHello(String name) {
        return String.format("Hello,%s", name);
    }
}
